<?php
require_once 'application/constant/templatName.php';
require_once 'application/library/controller/gcLBasicAction.php';
require_once 'application/modules/user/services/user_services_userViewService.php';

/**
 * adminIndexController
 * @author    chenmeng
 * @version   1.0
 * @exclude   作  成  日：2011/04/07
 */
class user_userViewController extends gcLBasicAction{
    
    private  $objService;
    
    public function indexAction(){
        $this->initMenu("5");
        $this->boolUserTypeCheck("all");

        $strUserId = $this->getParam("UserId");
        $this->gcView->UserId = $strUserId;
        $this->objService = new user_services_userViewService();
        $arrUserInfo = $this->objService->pbGetUserInfoByUserId($strUserId);
        $this->gcView->UserInfo = $arrUserInfo;
        $this->gcView->adminIndex = true;
        $this->gcView->render("userView.tpl");
    }
}